package gat.dto.req.backgroundUser;

import java.io.Serializable;

import org.springframework.validation.annotation.Validated;

import com.fasterxml.jackson.annotation.JsonProperty;

import gat.dto.req.BaseQueryVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色信息表
 * @author: tmac
 * @email: tmac
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class RoleReqDto extends BaseQueryVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 角色名称 varchar
     */
    @ApiModelProperty(value = "角色名称")
    @JsonProperty(index = 10)
    private String name;
    /**
     * 角色类型 int4
     */
    @ApiModelProperty(value = "角色类型")
    @JsonProperty(index = 20)
    private Integer type;
    /**
     * 角色状态 int4
     */
    @ApiModelProperty(value = "角色状态")
    @JsonProperty(index = 30)
    private Integer status;

    /**
     * 角色描述 varchar
     */
    @ApiModelProperty(value = "角色描述")
    @JsonProperty(index = 140)
    private String description;

}






